{section name=bar loop=$foo start=$i}{$foo[bar]}{sectionelse} else {/section}